#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#define year 3.156 * 10000000

int main() {
    int n = 0;
    scanf("%d", &n);
    long long int m = n * year;
    printf("%lld", m);
    return 0;
}